package com.ruoyi.system.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.SysLooper;

/**
 * looperService接口
 *
 * @author king
 * @date 2022-07-14
 */
public interface ISysLooperService extends IService<SysLooper>
{
    /**
     * 查询looper
     *
     * @param id looper主键
     * @return looper
     */
    public SysLooper selectSysLooperById(Long id);

    /**
     * 查询looper列表
     *
     * @param sysLooper looper
     * @return looper集合
     */
    public List<SysLooper> selectSysLooperList(SysLooper sysLooper);

    /**
     * 新增looper
     *
     * @param sysLooper looper
     * @return 结果
     */
    public int insertSysLooper(SysLooper sysLooper);

    /**
     * 修改looper
     *
     * @param sysLooper looper
     * @return 结果
     */
    public int updateSysLooper(SysLooper sysLooper);

    /**
     * 批量删除looper
     *
     * @param ids 需要删除的looper主键集合
     * @return 结果
     */
    public int deleteSysLooperByIds(Long[] ids);

    /**
     * 删除looper信息
     *
     * @param id looper主键
     * @return 结果
     */
    public int deleteSysLooperById(Long id);
}
